Hello. I have a yml here that does not allow access to these services through their defined ports.
Deploys successfully, just no network access locally. I’m pretty new to formatting these myself so any help would be appreciated. Thanks in advance.
---
version: "3.9"
services:
db:
image: mysql:latest
network_mode: bridge
command: --authentication_policy=mysql_native_password
container_name: mysql
restart: always
ports:
- "192.168.77.22:12349:12349"
volumes:
- /volume1/docker/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD:xxx
- MYSQL_USER=xxx
- MYSQL_PASSWORD=xxx
- MYSQL_DATABASE=linkace
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
network_mode: bridge
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
container_name: phpmyadmin
restart: always
ports:
- "192.168.77.22:94321:94321"
environment:
- PMA_HOST:"192.168.77.22"
- PMA_PORT:"12349:12349"
linkace:
image: linkace/linkace:simple
container_name: linkace
restart: unless-stopped
volumes:
- "/volume1/docker/linkace:/app/linkace"
ports:
- "192.168.77.22:23458:23458"
# Remove the hash of the following line if you want to use local backups
#- ./backups:/app/storage/app/backups