Update docker-compose
This commit is contained in:
parent
7132b36472
commit
04fe7b5588
30
README.md
30
README.md
@ -13,21 +13,35 @@
|
|||||||
> image: brokenfire/brokendiscordbot:latest
|
> image: brokenfire/brokendiscordbot:latest
|
||||||
> networks:
|
> networks:
|
||||||
> - proxy
|
> - proxy
|
||||||
|
> - internal
|
||||||
> environment:
|
> environment:
|
||||||
> - PORT=8081
|
> - PORT=8080
|
||||||
> - TOKEN=1111111111111 #CHANGE ME!
|
> - TOKEN=1111111111111 #CHANGE ME!
|
||||||
|
> - DB_URL=jdbc:mysql://database/botdiscord
|
||||||
|
> - DB_USER=root
|
||||||
|
> - DB_PWD=ogahxu1eigohN2Eok0xoawae #CHANGE ME!
|
||||||
> labels:
|
> labels:
|
||||||
> - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
|
> - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
|
||||||
|
> - "traefik.docker.network=proxy"
|
||||||
> - "traefik.port=8080"
|
> - "traefik.port=8080"
|
||||||
> - "traefik.backend=botdiscord"
|
> - "traefik.backend=botdiscord"
|
||||||
> - "traefik.frontend.entryPoints=http,https"
|
> - "traefik.frontend.entryPoints=http,https"
|
||||||
> volumes:
|
> volumes:
|
||||||
> - "./logs:/bot_src/logs"
|
> - "./logs:/bot_src/logs"
|
||||||
|
> depends_on:
|
||||||
|
> - "database"
|
||||||
> restart: always
|
> restart: always
|
||||||
>
|
>
|
||||||
> networks:
|
> phpmyadmin:
|
||||||
> proxy:
|
> image: phpmyadmin/phpmyadmin:latest
|
||||||
> external: true
|
> labels:
|
||||||
> ```
|
> - "traefik.frontend.rule=Host:phpmyadmin.exemple.com" #CHANGE ME!
|
||||||
> Docker hub [repo](https://hub.docker.com/r/brokenfire/brokendiscordbot/)
|
> - "traefik.port=80"
|
||||||
|
> - "traefik.docker.network=proxy"
|
||||||
|
> - "traefik.backend=phpmyadmin"
|
||||||
|
> - "traefik.frontend.entryPoints=http,https"
|
||||||
|
> environment:
|
||||||
|
> - PMA_HOST=database
|
||||||
|
> depends_on:
|
||||||
|
> - "database"
|
||||||
|
> networks:
|
Loading…
Reference in New Issue
Block a user