docker-compose.yml 565 B

1234567891011121314151617181920212223
  1. version: "3.3"
  2. services:
  3. wishurgift-web:
  4. container_name: wishurgift-web
  5. build: ./web
  6. ports:
  7. - "8080:8080"
  8. volumes:
  9. - ./web/apps:/usr/local/tomee/webapps
  10. - ./web/shared:/usr/local/tomee/shared
  11. - ./web/lib/postgresql-42.2.9.jar:/usr/local/tomee/lib/postgresql-42.2.9.jar
  12. links:
  13. - wishurgift-db
  14. wishurgift-db:
  15. container_name: wishurgift-db
  16. build: ./db
  17. ports:
  18. - "5432:5432"
  19. volumes:
  20. - ./db/data/postgresql:/var/lib/postgresql
  21. - ./db/data/postgresql_data:/var/lib/postgresql/data