services: rg-website-cms: build: . container_name: rg-website-cms ports: - "1337:1337" environment: DATABASE_CLIENT: postgres DATABASE_HOST: postgres DATABASE_PORT: 5432 DATABASE_NAME: strapi DATABASE_USERNAME: strapi DATABASE_PASSWORD: strapi APP_KEYS: ${APP_KEYS} API_TOKEN_SALT: ${API_TOKEN_SALT} ADMIN_JWT_SECRET: ${ADMIN_JWT_SECRET} TRANSFER_TOKEN_SALT: ${TRANSFER_TOKEN_SALT} volumes: - strapi:/srv/app depends_on: - postgres postgres: image: postgres:15-alpine container_name: rg-website-cms-postgres environment: POSTGRES_DB: strapi POSTGRES_USER: strapi POSTGRES_PASSWORD: strapi volumes: - postgres_data:/var/lib/postgresql/data volumes: strapi: postgres_data: