simplify build in docker compose, fix umami link
This commit is contained in:
parent
e422c11d94
commit
1c8faf712f
|
@ -16,8 +16,7 @@ function sync_docker {
|
|||
--exclude static/dyn \
|
||||
web "$remote_host":docker/
|
||||
|
||||
ssh "$remote_host" 'docker build -t bbilly1/lpb-air:latest docker/web'
|
||||
ssh "$remote_host" 'docker compose -f docker/docker-compose.yml up -d'
|
||||
ssh "$remote_host" 'docker compose -f docker/docker-compose.yml up -d --build'
|
||||
|
||||
}
|
||||
|
||||
|
@ -36,8 +35,7 @@ function sync_test {
|
|||
--exclude static/dyn \
|
||||
web "$local_host":docker/
|
||||
|
||||
ssh "$local_host" 'docker build -t bbilly1/lpb-air:latest docker/web'
|
||||
ssh "$local_host" 'docker compose -f docker/docker-compose.yml up -d'
|
||||
ssh "$local_host" 'docker compose -f docker/docker-compose.yml up -d --build'
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ services:
|
|||
- NGINX_PROXY_CONTAINER=nginx-proxy
|
||||
# backend flask
|
||||
flask:
|
||||
image: bbilly1/lpb-air
|
||||
build: ./web
|
||||
container_name: flask
|
||||
restart: always
|
||||
volumes:
|
||||
|
@ -62,7 +62,7 @@ services:
|
|||
- "5432"
|
||||
# umami stats
|
||||
umami:
|
||||
image: ghcr.io/mikecao/umami:postgresql-latest
|
||||
image: docker.umami.dev/umami-software/umami:postgresql-latest
|
||||
container_name: umami
|
||||
expose:
|
||||
- "3000"
|
||||
|
|
|
@ -3,7 +3,7 @@ version: "3.2"
|
|||
services:
|
||||
# backend flask
|
||||
flask:
|
||||
image: bbilly1/lpb-air
|
||||
build: ./web
|
||||
container_name: flask
|
||||
restart: always
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue