Update docker-compose.yml (#64)
Added `restart: unless-stopped` to all services. Closes #63.
This commit is contained in:
parent
ec43c98cf0
commit
5c5f58c63f
@ -21,6 +21,7 @@ services:
|
|||||||
|
|
||||||
chirpstack-gateway-bridge-eu868:
|
chirpstack-gateway-bridge-eu868:
|
||||||
image: chirpstack/chirpstack-gateway-bridge:4.0.0
|
image: chirpstack/chirpstack-gateway-bridge:4.0.0
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 1700:1700/udp
|
- 1700:1700/udp
|
||||||
volumes:
|
volumes:
|
||||||
@ -30,6 +31,7 @@ services:
|
|||||||
|
|
||||||
chirpstack-rest-api:
|
chirpstack-rest-api:
|
||||||
image: chirpstack/chirpstack-rest-api:4.0.0
|
image: chirpstack/chirpstack-rest-api:4.0.0
|
||||||
|
restart: unless-stopped
|
||||||
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
|
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
|
||||||
ports:
|
ports:
|
||||||
- 8090:8090
|
- 8090:8090
|
||||||
@ -38,6 +40,7 @@ services:
|
|||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
||||||
- postgresqldata:/var/lib/postgresql/data
|
- postgresqldata:/var/lib/postgresql/data
|
||||||
@ -46,6 +49,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- redisdata:/data
|
- redisdata:/data
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user