removed devlop and build from dockerfile as docker compose watch doesn't work
This commit is contained in:
parent
11aeda11e5
commit
03e0354ba5
1 changed files with 0 additions and 17 deletions
|
@ -13,9 +13,6 @@ x-healthcheck_defaults: &healthcheck_defaults
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
x-c3nav-defaults: &c3nav-defaults
|
x-c3nav-defaults: &c3nav-defaults
|
||||||
build:
|
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/Dockerfile
|
|
||||||
image: ghcr.io/c3nav/c3nav:${C3NAV_TAG}
|
image: ghcr.io/c3nav/c3nav:${C3NAV_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
redis:
|
redis:
|
||||||
|
@ -44,16 +41,6 @@ x-c3nav-environment: &c3nav-environment
|
||||||
C3NAV_CELERY_BROKER: "redis://redis:6379/1"
|
C3NAV_CELERY_BROKER: "redis://redis:6379/1"
|
||||||
C3NAV_CELERY_BACKEND: "redis://redis:6379/2"
|
C3NAV_CELERY_BACKEND: "redis://redis:6379/2"
|
||||||
|
|
||||||
x-c3nav-develop: &c3nav-develop
|
|
||||||
watch:
|
|
||||||
- path: ../../src
|
|
||||||
action: sync+restart
|
|
||||||
target: /app
|
|
||||||
ignore:
|
|
||||||
- "*.pyc"
|
|
||||||
- /data
|
|
||||||
- c3nav.cfg
|
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
c3nav-core:
|
c3nav-core:
|
||||||
|
@ -77,8 +64,6 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- "8000"
|
- "8000"
|
||||||
#- "5000"
|
#- "5000"
|
||||||
develop:
|
|
||||||
<<: *c3nav-develop
|
|
||||||
|
|
||||||
c3nav-workers:
|
c3nav-workers:
|
||||||
<<: [*restart-policy, *c3nav-defaults]
|
<<: [*restart-policy, *c3nav-defaults]
|
||||||
|
@ -92,8 +77,6 @@ services:
|
||||||
retries: 2
|
retries: 2
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
test: entrypoint worker_healthcheck
|
test: entrypoint worker_healthcheck
|
||||||
develop:
|
|
||||||
<<: *c3nav-develop
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue