You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
595 B
25 lines
595 B
version: "3" |
|
services: |
|
web: |
|
image: "amikhalev/sprinklers3" |
|
build: . |
|
depends_on: |
|
- database |
|
ports: |
|
- "8080:8080" |
|
env_file: |
|
- .env |
|
environment: |
|
- PORT=8080 |
|
- TYPEORM_CONNECTION=postgres |
|
- TYPEORM_HOST=database |
|
- TYPEORM_DATABASE=postgres |
|
- TYPEORM_USERNAME=postgres |
|
- TYPEORM_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV |
|
- TYPEORM_SYNCHRONIZE=true |
|
# Must specify JWT_SECRET and MQTT_URL |
|
|
|
database: |
|
image: "postgres:11-alpine" |
|
environment: |
|
- POSTGRES_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV
|
|
|