Created
August 1, 2023 07:43
-
-
Save KunYi/b0293290ef45c16cb6784e0c732f62ff to your computer and use it in GitHub Desktop.
for iotsharp & iotgateway testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
pgsql: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
volumes: | |
- ./data/postgresql:/var/lib/postgresql/data | |
environment: | |
TZ: "Asia/Taipei" | |
POSTGRES_USER: postgres | |
POSTGRES_DB: IoTSharp | |
POSTGRES_PASSWORD: future | |
networks: | |
- iotsharp-network | |
pgadmin: | |
image: dpage/pgadmin4 | |
container_name: pgadmin | |
restart: always | |
volumes: | |
- "./data/servers.json:/pgadmin4/servers.json" | |
depends_on: | |
- pgsql | |
links: | |
- pgsql | |
ports: | |
- 8090:80 | |
environment: | |
TZ: "Asia/Taipei" | |
PGADMIN_DEFAULT_EMAIL: "[email protected]" | |
PGADMIN_DEFAULT_PASSWORD: "1-q2-w3-e4-r5-t" | |
networks: | |
- iotsharp-network | |
iotsharp: | |
image: iotsharp:latest | |
restart: always | |
environment: | |
ASPNETCORE_ENVIRONMENT: Production | |
TZ: Asia/Taipei | |
depends_on: | |
- pgsql | |
- taos | |
links: | |
- pgsql | |
- taos | |
volumes: | |
- "./appsettings.Development.json:/app/appsettings.Production.json" | |
- ./data/security:/app/security | |
ports: | |
- 2929:8888 | |
- 1883:1883 | |
- 8883:8883 | |
- 5683:5683 | |
- 5684:5684 | |
- 502:502 | |
networks: | |
- iotsharp-network | |
taos: | |
image: tdengine/tdengine:3.0.7.1 | |
restart: always | |
environment: | |
TZ: Asia/Taipei | |
ports: | |
- 6041:6041 | |
volumes: | |
- ./data/taos:/var/lib/taos | |
networks: | |
- iotsharp-network | |
iotgateway: | |
image: iotgateway:latest | |
container_name: iotgateway | |
restart: always | |
depends_on: | |
- iotsharp | |
environment: | |
TZ: Asia/Taipei | |
ports: | |
- 503:503 | |
- 518:518 | |
- 1888:1888 | |
networks: | |
- iotsharp-network | |
networks: | |
iotsharp-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment