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.

docker-compose.yml 958B

12345678910111213141516171819202122232425262728293031323334353637
  1. version: '2'
  2. services:
  3. postgresql:
  4. build: ./postgresql
  5. container_name: gitea-postgresql
  6. # restart: unless-stopped
  7. networks:
  8. gitea.internal.docker:
  9. aliases:
  10. - postgresql.gitea.internal.docker
  11. volumes:
  12. - ./data/postgresql/data:/var/lib/postgresql/data
  13. - ./data/postgresql/backup:/var/lib/postgresql/backup
  14. ports:
  15. - "127.0.0.1:35120:5432"
  16. env_file:
  17. - env
  18. gitea:
  19. build: ./gitea
  20. container_name: gitea-gitea
  21. # restart: unless-stopped
  22. networks:
  23. gitea.internal.docker:
  24. aliases:
  25. - gitea.gitea.internal.docker
  26. volumes:
  27. - ./data/gitea/data:/data
  28. ports:
  29. - "127.0.0.1:35121:22"
  30. - "127.0.0.1:35122:3000"
  31. env_file:
  32. - env
  33. networks:
  34. gitea.internal.docker: