docker-compose.yml 363 B

12345678910111213141516171819
  1. version: '3.8'
  2. services:
  3. go-admin-api:
  4. container_name: go-admin
  5. image: go-admin:latest
  6. privileged: true
  7. restart: always
  8. ports:
  9. - 8000:8000
  10. volumes:
  11. - ./config/:/go-admin-api/config/
  12. - ./static/:/go-admin-api/static/
  13. - ./temp/:/go-admin-api/temp/
  14. networks:
  15. - myweb
  16. networks:
  17. myweb:
  18. driver: bridge